import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

  const routes = [
  {
    path: '/index',
    name: 'index',
    component: () => import(/* webpackChunkName: "about" */ '../views/index.vue'),
    meta:{
      title:'产业链咨询报告'
    }
  },
  {
    path: '/chain',
    name: 'chain',
    component: () => import(/* webpackChunkName: "about" */ '../views/chain/chain.vue'),
    meta:{
      title:'产业链',
      // keepAlive:true,
      // isBack: true,
    }
  },
]

const router = new VueRouter({
  mode: 'hash',
  base: process.env.BASE_URL,
  routes
})

export default router
